package websocket.entity;

/**
 * 自定义数据
 *
 * @author nieruijie
 * @date 2022/4/20 0:25
 */
public class CustomData {
    /**
     * 返航电压
     */
    private Float returnVoltage;

    /**
     * 返航高度
     */
    private Float returnAltitude;
    /**
     * 返航速度
     */
    private Float returnSpeed;
    /**
     * 图数传状态 (1 正常 0 丢失
     */
    private Integer transportStatus;
    /**
     * 控制状态 (1 正常 0 丢失)
     */
    private Integer controlStatus;
    /**
     * 信号状态(1 正常 0 丢失)
     */
    private Integer signalStatus;

    /**
     * 定位状态(1 正常 0 丢失)
     */
    private Integer positionStatus;
    /**
     * 摇杆连接状态(1 正常 0 断开)
     */
    private Integer joystickConnectionStatus;
    /**
     * 最大高度
     */
    private Integer maxHeight;
    /**
     * 启用最大高度(1 启用 ， 0 停
     */
    private Integer isEnable;

    @Override
    public String toString() {
        return "CustomData{" +
                "returnVoltage=" + returnVoltage +
                ", returnAltitude=" + returnAltitude +
                ", returnSpeed=" + returnSpeed +
                ", transportStatus=" + transportStatus +
                ", controlStatus=" + controlStatus +
                ", signalStatus=" + signalStatus +
                ", positionStatus=" + positionStatus +
                ", joystickConnectionStatus=" + joystickConnectionStatus +
                ", maxHeight=" + maxHeight +
                ", isEnable=" + isEnable +
                '}';
    }

    public Float getReturnVoltage() {
        return returnVoltage;
    }

    public void setReturnVoltage(Float returnVoltage) {
        this.returnVoltage = returnVoltage;
    }

    public Float getReturnAltitude() {
        return returnAltitude;
    }

    public void setReturnAltitude(Float returnAltitude) {
        this.returnAltitude = returnAltitude;
    }

    public Float getReturnSpeed() {
        return returnSpeed;
    }

    public void setReturnSpeed(Float returnSpeed) {
        this.returnSpeed = returnSpeed;
    }

    public Integer getTransportStatus() {
        return transportStatus;
    }

    public void setTransportStatus(Integer transportStatus) {
        this.transportStatus = transportStatus;
    }

    public Integer getControlStatus() {
        return controlStatus;
    }

    public void setControlStatus(Integer controlStatus) {
        this.controlStatus = controlStatus;
    }

    public Integer getSignalStatus() {
        return signalStatus;
    }

    public void setSignalStatus(Integer signalStatus) {
        this.signalStatus = signalStatus;
    }

    public Integer getPositionStatus() {
        return positionStatus;
    }

    public void setPositionStatus(Integer positionStatus) {
        this.positionStatus = positionStatus;
    }

    public Integer getJoystickConnectionStatus() {
        return joystickConnectionStatus;
    }

    public void setJoystickConnectionStatus(Integer joystickConnectionStatus) {
        this.joystickConnectionStatus = joystickConnectionStatus;
    }

    public Integer getMaxHeight() {
        return maxHeight;
    }

    public void setMaxHeight(Integer maxHeight) {
        this.maxHeight = maxHeight;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }
}
